package myUtils;

import java.sql.SQLException;

import dataBase.magaers.UserDBMngr;

public class LoginBean {
	// database access
	UserDBMngr udbm = UserDBMngr.getInstance();
	String email;
	
	public LoginBean(){
		email = "test";
	}
	
	public String getEmail() {
		return email;
	}
	
	boolean validate(String email, String password){
		return udbm.validatePassword(email, password);
	}
}
